const Router = require('koa-router');
const router = new Router();
const {db } = require("../../models/db");
// 获取页面设置
router.post('/sets/getParams', async ctx => {
    let data = await db.models['options'].findOne({
        where: {
            tenantId: ctx.user.tenantId,
            name: 'system'
        }
    })
    return ctx.suc('', data);
})


module.exports = router;